package com.woniuxy.cloud.carl.order.infra.model;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 商品订单条目详情表
 * </p>
 *
 * @author Lucas
 * @since 2023-07-24
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("t_sku_order_item")
public class SkuOrderItem implements Serializable {

    private static final long serialVersionUID=1L;

    /**
     * 自增id
     */
    @TableId(value = "sku_order_item_id", type = IdType.AUTO)
    private Long skuOrderItemId;

    /**
     * 商品id
     */
    private Long skuId;

    /**
     * 数量
     */
    private Integer skuCount;

    /**
     * 快递状态：0.送货中 1.已送达
     */
    private Integer deliveryStatus;

    /**
     * 商品名称
     */
    private String skuName;

    private Long orderItemId;


}
